#ifndef INTERFACEPLUGIN_H
#define INTERFACEPLUGIN_H
/**
* @file interfacePlugin.h 
* @Description: interfacePlugin.h 插件的接口类
* @Date: 2020-02-29
* @LastEditTime: 2020-02-29
* @LastEditors: twosilly
* @Author: twosilly
* @E-Mail:twosilly@foxmail.com
*/
#include <QString>
#include <QtPlugin>
#include "interface/PluginMetaData.h"
//!定义接口
class InterfacePlugin
{
public:
    InterfacePlugin() {}
    virtual ~InterfacePlugin(){};
    virtual void recMsgfromManager(PluginMetaData) = 0;
    virtual void sendMsg2Manager(PluginMetaData)   = 0;
    virtual QString output(const QString &message) = 0;
};

#define InterfacePlugin_iid "Test.Pligin.InterfacePlugin"
Q_DECLARE_INTERFACE(InterfacePlugin,InterfacePlugin_iid)

#endif // INTERFACEPLUGIN_H
